﻿using System.Configuration;

namespace Meotom.Upload.v2.Data
{
    public class Configs
    {
        public static readonly string ConnectionString = ConfigurationManager.ConnectionStrings["mtdbuploadConnectionString"].ConnectionString;
        public static readonly string SiteId = ConfigurationManager.AppSettings["SiteID"];
        public static readonly string WebName = ConfigurationManager.AppSettings["WebName"];
        public static readonly string WebTitle = ConfigurationManager.AppSettings["WebTitle"];
        public static readonly string FolderSaveData = ConfigurationManager.AppSettings["FolderSaveData"];
        public static readonly string WebDescription = ConfigurationManager.AppSettings["WebDescription"];
        public static readonly string HomeUrl = ConfigurationManager.AppSettings["HomeUrl"];
        public static readonly string FolderUpImage = ConfigurationManager.AppSettings["FolderUPImage"];
        public static readonly string UserFolder = ConfigurationManager.AppSettings["UserFolder"];
        public static readonly string UserVirtualFolder = ConfigurationManager.AppSettings["UserVirtualFolder"];
        public static readonly double TimeLine = double.Parse(ConfigurationManager.AppSettings["TimeLine"]);
        public static readonly string WebSrvUserName = ConfigurationManager.AppSettings["WebSrvUserName"];
        public static readonly string WebSrvPassword = ConfigurationManager.AppSettings["WebSrvPassword"];
        public static readonly string SmtpHost = ConfigurationManager.AppSettings["SmtpHost"];
        public static readonly string SmtpUser = ConfigurationManager.AppSettings["SmtpUser"];
        public static readonly string SmtpPass = ConfigurationManager.AppSettings["SmtpPass"];
        public static readonly string Domain = ConfigurationManager.AppSettings["Domain"];
        public static readonly string WebMasterEmail = ConfigurationManager.AppSettings["WebMasterEmail"];
        public static readonly string WebReportEmail1 = ConfigurationManager.AppSettings["WebReportEmail1"];
        public static readonly string WebReportEmail2 = ConfigurationManager.AppSettings["WebReportEmail2"];
    }
}


